<?php
namespace app\controller\api;
use app\controller\Common;
use think\Db;
use think\Model;

class Blog extends Common{

  public function getBlogUserInfo(){
    $wh['id'] = 1;
    $wh['status'] = 1;
    $res = model('BlogUser')::get($wh);
    if($res){
      $result['ret'] = 1;
      $result['data'] = $res;
    }else{
      $result['ret'] = 0;
      $result['msg'] = '未查询到数据';
    }
    return json($result);
  }



}//END